﻿@using Microsoft.Extensions.Options
@inject  IOptions<OptionsConfigurationSample.Class> _classOptions
@{
    ViewData["Title"] = "Index";
}

<h2>Index</h2>

@_classOptions.Value.ClassId;
@_classOptions.Value.ClassName;